<template>
    <h2>用户查看查看投资项目列表</h2>
<inverstshow v-slot="info">
    <a href="#" @click="showwher(info.id)">投资</a>
</inverstshow>
</template>
<script setup lang="ts">
import {useRouter} from 'vue-router'
import inverstshow from './inverstshow.vue'
const router=useRouter()

const showwher=(id:number)=>{
    router.push({
        name:"userinversetadd",
        params:{id:id}
    })
}
</script>